home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
segmentedAnimationTest_old.wrl
< prev
next >
Wrap
Text File
|
2000-11-07
|
4KB
|
140 lines
#VRML V2.0 utf8
#Cosmo Worlds V2.0
WorldInfo {
info "Test for breaking animation into 3 parts"
}
DEF TIMER TimeSensor {
loop true
}
DEF FRACTION_ADJUSTER ScalarInterpolator { key [ 0, 1.0] keyValue [ 0, 0.3333 ]}DEF _0 Transform {
children [
Shape {
appearance Appearance {
material Material {
}
}
geometry DEF _1 IndexedFaceSet {
coord Coordinate {
point [ -1 1 1,
-1 -1 1,
1 1 1,
1 -1 1,
1 1 -1,
1 -1 -1,
-1 1 -1,
-1 -1 -1 ]
}
coordIndex [ 0, 1, 3, 2, -1, 4, 5, 7,
6, -1, 6, 7, 1, 0, -1, 2,
3, 5, 4, -1, 6, 0, 2, 4,
-1, 1, 7, 5, 3, -1 ]
creaseAngle 0.5
normalIndex [ ]
}
}
DEF UnnamedAnimation0 Group {
children [
DEF POS_INTERP_1 PositionInterpolator {
key [ 0, 0.0333333, 0.0666667, 0.1,
0.133333, 0.166667, 0.2, 0.233333,
0.266667, 0.3, 0.333333, 0.366667,
0.4, 0.433333, 0.466667, 0.5,
0.533333, 0.566667, 0.6, 0.633333,
0.666667, 0.7, 0.733333, 0.766667,
0.8, 0.833333, 0.866667, 0.9,
0.933334, 0.966667, 1 ]
keyValue [ 0 1 0,
-0.583508 0.978826 -0.0296143,
-1.2548 0.936479 -0.0620831,
-1.8822 0.904719 -0.0931246,
-2.33403 0.915305 -0.118457,
-2.47863 1 -0.1338,
-2.36846 1.1774 -0.141025,
-2.15702 1.42784 -0.145218,
-1.86421 1.72568 -0.146912,
-1.5099 2.04531 -0.146645,
-1.11399 2.36108 -0.14495,
-0.696346 2.64737 -0.142363,
-0.276867 2.87854 -0.13942,
0.124568 3.02896 -0.136654,
0.488075 3.073 -0.134603,
0.793769 2.98503 -0.1338,
1.06652 2.55089 -0.135039,
1.32969 1.71059 -0.137764,
1.56116 0.669719 -0.14049,
1.73878 -0.366121 -0.141729,
1.84041 -1.19133 -0.139994,
1.84393 -1.60031 -0.1338,
1.75912 -1.64423 -0.123632,
1.61802 -1.53213 -0.111261,
1.4319 -1.29522 -0.0971288,
1.21201 -0.964688 -0.0816748,
0.96961 -0.571749 -0.0653398,
0.715951 -0.147607 -0.0485644,
0.462291 0.276536 -0.0317889,
0.219888 0.669473 -0.0154539,
0 1 0 ]
}
DEF ROT_INTERP_1 OrientationInterpolator {
key [ 0, 0.0333333, 0.0666667, 0.1,
0.133333, 0.166667, 0.2, 0.233333,
0.266667, 0.3, 0.333333, 0.366667,
0.4, 0.433333, 0.466667, 0.5,
0.533333, 0.566667, 0.6, 0.633333,
0.666667, 0.7, 0.733333, 0.766667,
0.8, 0.833333, 0.866667, 0.9,
0.933334, 0.966667, 1 ]
keyValue [ 0 0 1 0,
0 0 -1 0.0367937,
0 0 -1 0.0886569,
0 0 -1 0.152769,
0 0 -1 0.226303,
0 0 -1 0.306436,
0 0 -1 0.390345,
0 0 -1 0.475205,
0 0 -1 0.558194,
0 0 -1 0.636488,
0 0 -1 0.707262,
0 0 -1 0.767694,
0 0 -1 0.814959,
0 0 -1 0.846234,
0 0 -1 0.858695,
0 0 -1 0.849519,
0 0 -1 0.713551,
0 0 -1 0.451372,
0 0 -1 0.124552,
0 0 1 0.205344,
0 0 1 0.476748,
0 0 1 0.628092,
0 0 1 0.647289,
0 0 1 0.617989,
0 0 1 0.551443,
0 0 1 0.4589,
0 0 1 0.351612,
0 0 1 0.240827,
0 0 1 0.137797,
0 0 1 0.0537702,
0 0 1 0 ]
}
]
}
]
translation 0 1 0
rotation 0 0 1 0
}
Viewpoint {
position -3.23406 4.56847 6.14924
orientation -0.633779 -0.749128 -0.192698 0.696482
fieldOfView 0.785398
}
ROUTE TIMER.fraction TO FRACTION_ADJUSTER.fractionROUTE FRACTION_ADJUSTER.value TO POS_INTERP_1.fractionROUTE FRACTION_ADJUSTER.value TO ROT_INTERP_1.fraction
ROUTE POS_INTERP_1.value TO _0.translation
ROUTE ROT_INTERP_1.value TO _0.rotation